﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KnightShortestPath
{
    /// <summary>
    /// Sample class that shows how to use the <see cref="KnightShortestPath.GameController"/> class
    /// </summary>
    class Sample
    {
        static void Main(string[] args)
        {
            // Creates a new instance of GameController and start processing to find the possible paths
            GameController game = new GameController(new Node(4, 5), new Node(7, 2));
            game.startProcessing();
            Console.WriteLine("Total number of movements: {0}", game.NumberOfMovements);
            Console.WriteLine("Number of shortest paths: {0}", game.Paths.GetLength(0));
            Console.ReadKey();
        }
    }
}
